package imaging

import (
	"github.com/use-go/onvif/xsd/onvif"
)

type AbsoluteMove struct {
	XMLName          string               `xml:"timg:Move"`
	VideoSourceToken onvif.ReferenceToken `xml:"timg:VideoSourceToken"`
	Focus            AbsoluteFocus        `xml:"timg:Focus"`
}
type AbsoluteFocus struct {
	Absolute onvif.AbsoluteFocus `xml:"onvif:Continuous"`
}

type RelativeMove struct {
	XMLName          string               `xml:"timg:Move"`
	VideoSourceToken onvif.ReferenceToken `xml:"timg:VideoSourceToken"`
	Focus            RelativeFocus        `xml:"timg:Focus"`
}

type RelativeFocus struct {
	Relative onvif.RelativeFocus `xml:"onvif:Continuous"`
}

type ContinuousMove struct {
	XMLName          string               `xml:"timg:Move"`
	VideoSourceToken onvif.ReferenceToken `xml:"timg:VideoSourceToken"`
	Focus            ContinuousFocus      `xml:"timg:Focus"`
}

type ContinuousFocus struct {
	Continuous onvif.ContinuousFocus `xml:"onvif:Continuous"`
}
